package com.hq.door.dto;

/**
 * 作者：袁健宝
 * 日期：2016年12月31日 上午4:24:55
 */
public class Parent {
	
	private Integer id;
	private String userName;	//用户名
	private String password;	//密码
	private String code;		//校验码(用户输入)
	
	@Override
	public String toString() {
		return "Parent [id=" + id + ", userName=" + userName + ", password="
				+ password + ", code=" + code + "]";
	}

	public Parent() {}
	
	public Parent(String userName, String password, String code) {
		this.userName = userName;
		this.password = password;
		this.code = code;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
}
